package org.zhxy.core.principal.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.zhxy.common.config.ServiceFactory;
import org.zhxy.common.response.Result;

@RestController
@RequestMapping("/vocational")
public class VocationalController {

    @RequestMapping(value = "/searchAllVocationalList",method = RequestMethod.GET)
    public Result searchAllVocationalList(){
        return Result.SUCCESS_NO_MESSAGE(ServiceFactory.vocationalService.searchAllVocationalList());
    }
}
